package cn.fzkj.annotation;

/**
 * @DESCRIPTION:
 * @AUTHOR: yaya
 * @DATE: 2021/8/15
 */
public class Test {

    public static void main(String[] args) {
        LoginStrategy.init();
        Login strategy = LoginStrategy.getStrategy(LoginType.QQ);
        strategy.login("张三");

        strategy = LoginStrategy.getStrategy(LoginType.WECHAT);
        strategy.login("里斯");
    }

}
